package net.lzzy.practices.services;

import net.lzzy.practices.constants.Messages;
import net.lzzy.practices.entities.Chapter;

import java.util.List;
import java.util.UUID;

/**
 * @author m
 */
public interface ChapterService {
/*    List<Chapter> getTeachersChapters(UUID id) ;

    List<Chapter> getStudentsChapters(UUID studentId);

    Chapter getById(UUID uuid);





    Chapter update(Chapter chapter, UUID uuid);

    Chapter openCloseChapter(UUID cid, boolean open);

    Chapter add(Chapter chapter, UUID uuid);

    Chapter remove(Chapter chaptern);*/

    List<Chapter> getTeachersChapters(UUID courseId,String token);


    List<Chapter> getStudentsChapters(UUID courseId,String token);


    Chapter getById(UUID chapterId);


    Chapter add (Chapter chapter);


    Chapter update (Chapter chapter,String token);


    Chapter openCloseChapter (UUID chapterId,boolean open,String token);

    Messages remove (UUID courseId, UUID chapterId, String token);

}
